# from django.http import *
# from django.utils.deprecation import MiddlewareMixin
#
#
# class Mymiddleware(MiddlewareMixin):
#
#     # 处理视图之前
#     def process_view(self, request, view_func, view_args, view_kwargs):
#         print("我是process_view方法")
#         print(request.session.get('zyd'))
#         return None
